.Net Framework > v1.1.4322 > System > Data > DataRelationCollection > Remove Remove(DataRelation)
Remove(String)


Remove(DataRelation)

Category
Method
Description
Removes the specified relation from the collection. An ArgumentNullException is generated if this relation is null. An ArgumentException is generated if this relation doesn't belong to this collection. The CollectionChanged event is fired if it succeeds. Note that removing the relation does not remove any associated constraint objects.
Type
void
Character
public
Parameters
NameTypeDescription
relationDataRelation
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Remove(String)

Category
Method
Description
Removes the relation with the specified name from the collection. An IndexOutOfRangeException is generated if this collection doesn't have a relation with that name. The CollectionChanged event is fired if it succeeds.
Type
void
Character
public
Parameters
NameTypeDescription
nameString
Tags
01892ABD01, 02E3ABA98D, 0311417F6F

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database